feat(wasm-utxo): improve test structure and add code quality tooling#65
Merged
OttoAllmendinger merged 5 commits intomasterfrom Nov 24, 2025
Merged
feat(wasm-utxo): improve test structure and add code quality tooling#65OttoAllmendinger merged 5 commits intomasterfrom
OttoAllmendinger merged 5 commits intomasterfrom
Conversation
Add proper describe blocks to organize test cases into suites for better test hierarchy and reporting. This change helps with test organization and makes output more readable. Issue: BTC-2786 Co-authored-by: llm-git <llm-git@ttll.de>
Clean up test files by removing unused functions, parameters and types. Add TypeScript compiler options to detect and prevent unused code. Issue: BTC-2786 Co-authored-by: llm-git <llm-git@ttll.de>
Added ESLint dependencies and configuration for TypeScript code linting. Created an initial eslint.config.js with recommended settings and appropriate ignore patterns for the project structure. Issue: BTC-2786 Co-authored-by: llm-git <llm-git@ttll.de>
Improve type safety by adding explicit type assertions and proper type handling for node and object structures. This fixes potential TypeScript errors with JSON stringification of nodes, unknown types, and array indexing. Also improves error message display by properly serializing objects to strings. Issue: BTC-2786 Co-authored-by: llm-git <llm-git@ttll.de>
Add ESLint check in GitHub Actions CI workflow for the wasm-utxo package. Runs between formatting checks and tests to catch potential issues early. Issue: BTC-2786 Co-authored-by: llm-git <llm-git@ttll.de>
6d9fbc8 to
548d7e4
Compare
davidkaplanbitgo
approved these changes
Nov 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enhances the wasm-utxo package with several code quality improvements:
These changes help with test organization, make output more readable, and
enhance the overall code quality by enforcing better practices through
automated tooling.
Issue: BTC-2786